package chat.clientToServerMessage;

import chat.server.ClientThread;
import chat.server.Server;

/**
 * ExitMessage is sent by a Client
 * @author Marius Eichenberg
 * client thread will be removed out of the room
 * client thread will be closed
 */
public class Exit implements ClientToServerMessage {

	
	private static final long serialVersionUID = 1L;

	@Override
	public void processOnServer(Server server, ClientThread ct) {
		server.exitPerson(ct);
	}
}